﻿using System;
using MyUtils;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Test.MyUtils
{
	[TestClass]
	public class IsNullOrWhiteSpace
	{
		[TestMethod]
		public void Should_check()
		{
			Assert.IsTrue("".IsNullOrWhitespaces());
			Assert.IsTrue("   ".IsNullOrWhitespaces());
			Assert.IsTrue("		 ".IsNullOrWhitespaces());
			Assert.IsTrue(Utils.IsNullOrWhitespaces(null));
			Assert.IsFalse("asd".IsNullOrWhitespaces());
		}
	}
}
